<?php
$urse=$_GET['urse'];
$pass=$_GET['pass'];
$link=mysqli_connect("localhost",'root','','mysql');
mysqli_set_charset($link,"utf8");
$sql="select *from lx where name='$urse' and pass='$pass'";
$result=mysqli_query($link,$sql);
if($row=mysqli_fetch_assoc($result)){
    echo "1";
}else{
    echo "0";
}
mysqli_close($link);
?>